package org.example.otherObject;

import java.util.HashMap;
import java.util.Map;

public class StringCode {
    private Character code;
    //这个设计的我想不到
    private Map<Character,StringCode> next = new HashMap<>();
    private boolean isFoot = false;

    public char getCode() {
        return code;
    }

    public void setCode(char code) {
        this.code = code;
    }

    public Map<Character, StringCode> getNext() {
        return next;
    }

    public void setNext(Map<Character, StringCode> next) {
        this.next = next;
    }

    public boolean isFoot() {
        return isFoot;
    }

    public void setFoot(boolean foot) {
        isFoot = foot;
    }
}
